package com.jh.channel.business;

import com.jh.channel.pojo.fastsilver.FastSilverInternal;
import com.jh.channel.pojo.fastsilver.FastSilverInternalView;
import com.jh.channel.pojo.fastsilver.FastSilverOrderView;
import com.jh.channel.pojo.fastsilver.OrderStatus;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.text.ParseException;
import java.util.List;

public interface FastSilverBusiness {

    void updateOrderStatus(String orderNo, OrderStatus status,String outTradeNo,String resultMsg);

    Page<FastSilverOrderView> queryFastSilver(FastSilverOrderView view, Pageable pageable);

    List<FastSilverInternal> queryInternal(String userId, String merchantId, Pageable pageable)throws ParseException;

    List<FastSilverInternal> queryInternalcount(String userId,String merchantId)throws ParseException;

    String queryUseridByOrderId();
}
